#ifndef SM3_H
#define SM3_H

#include <stddef.h>
#include <openssl/evp.h>

void sm3_hash(const unsigned char *data, size_t data_len, unsigned char output[32]);
void sm3_hmac(const unsigned char *data, size_t data_len, const unsigned char *key, size_t key_len, unsigned char output[32]);

#endif // SM3_H
